<%-- 
    Document   : supprimerAdmin
    Created on : 5 avr. 2012, 23:56:02
    Author     : jef
--%>

<%@page import="java.sql.ResultSetMetaData"%>
<%@page import="java.sql.Statement"%>
<%@page import="java.sql.DriverManager"%>
<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.PreparedStatement"%>
<%@page import="java.sql.Connection"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="./css/formulaire.css"/>
        <title>Ajout d'un admin</title>
    </head>
    
    <body>
         <%
            
            ServletContext context = getServletContext();
            
            String idUser = context.getAttribute("idUser").toString();
            int id = Integer.parseInt(idUser);
            
      
        
        
   
        

%>
        
        <h1 align="center"><font color="white"> Bienvenue dans le menu de suppression d'un administrateur </font></h1>   
    <form id="monForm" action="servletSupprimerAdmin" method="POST">
    <center>  <br><br><br>          
    <fieldset>
        <legend>INFORMATIONS DE L'ADMINISTRATEUR</legend>
        <p>
            <label >id (*) : </label>
            <input type="text" name="idUser" required/>           
    </fieldset>    
    <p><br/>
       
        <button type="reset" name="del" class="bouton_suppr">REINITIALISER</button><br/><br/>
         <button type="submit" name="valider" class="bouton_ajout">SUPPRIMER</button>
         <a href="accueil.jsp"><button type="submit" name="retour" class="bouton_retour">RETOUR</button></a>
    </p>
    </center>
</form>
        
        
    </body>
</html>
